﻿@{
    Layout = null;
    int i = 1;
}
<form id="pagerForm" method="get" action="BaseData/QCParameter/index?action=page&OpID=@ViewData["OperateID"]">
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="numPerPage" value="@ViewData["pageSize"]" />
    <input type="hidden" name="RowCount" value="@ViewData["RowCount"]" />
</form>

<div class="pageContent">
    @Html.Partial("Buttons", ViewData["CurrentPageButtons"])
    <table class="treetable list" width="100%" layouth="95">
        <thead>
            <tr class="header">
                <th>序号</th>

                <th>
                    停机重启检验
                </th>

                <th>
                    首件停机间隔时间(分钟)
                </th>

                <th>
                    启用【尺寸测量】系统
                </th>

                <th>
                    启用【信赖性检测】系统 
                </th>
            </tr>
        </thead>
        @foreach (var item in Model)
        {
            <tr target="QCParameter_id" rel="@item.Id">
                <td>
                    @i
                </td>

                <td>
                    <input type="checkbox" checked="@item.IsRestCheck" onclick="return false;" />
                </td>

                <td>@item.IntervalTime</td>

                <td>
                    <input type="checkbox" checked="@item.IsEnableSize" onclick="return false;" />
                    
                </td>

                <td>
                    <input type="checkbox" checked="@item.IsEnableReliability" onclick="return false;" />
                
                </td>
            </tr>
            i += 1;
        }
    </table>
</div>
@Html.Partial("PageBar")

